﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace A2DFramework.PipelineEngine
{
    public struct PipelineResult<TOUT>
    {
        /// <summary>
        /// 目标核心函数返回值
        /// </summary>
        public TOUT Result { get; set; }

        /// <summary>
        /// 是否存在异常
        /// </summary>
        public bool ExceptionExists { get; set; }

        /// <summary>
        /// 具体的异常
        /// </summary>
        public Exception Exception { get; set; }
    }
}
